using BasicData.ErrorCode;
using MediatR;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace BasicData.API.Application.Command
{
    /// <summary>
    /// 批量删除生产信息命令
    /// </summary>
    public class BatchDeleteProductionInfoCommand : IRequest<APIResult<bool>>
    {
        /// <summary>
        /// 要删除的生产信息Id列表
        /// </summary>
        [Required(ErrorMessage = "生产信息Id列表不能为空")]
        public List<Guid> ProductionInfoIds { get; set; }
        
        /// <summary>
        /// 操作人
        /// </summary>
        public string? ModifiedBy { get; set; }
    }
} 